#ifndef __GPIO_MISC_H__
#define __GPIO_MISC_H__

#include "board.h"

#define BEEP_PIN                  13 /* !>蜂鸣器 物理引脚*/

#define BEEP_OFF()  rt_pin_write(BEEP_PIN,0)
#define BEEP_ON()   rt_pin_write(BEEP_PIN,1)
#define BEEP_FLIP() rt_pin_read(BEEP_PIN)>0?BEEP_OFF():BEEP_ON()

#endif /* end of include guard: __GPIO_MISC_H__ */
